package com.antdesignbackend.backend.mapper;

import com.antdesignbackend.backend.entity.Users;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface UsersMapper extends BaseMapper<Users> {
    void updateData(@Param(Constants.WRAPPER) UpdateWrapper<Users> ew);
    String selectEnterpriseName(@Param(Constants.WRAPPER)  QueryWrapper<Users> queryWrapper);
}
